Skip to content

[stable32] fix(cypress): disable unsupported-browser redirect in test container#60808

Open
miaulalala wants to merge 1 commit into
stable32from
fix/noid/cypress-unsupported-browser-stable32
Open

[stable32] fix(cypress): disable unsupported-browser redirect in test container#60808
miaulalala wants to merge 1 commit into
stable32from
fix/noid/cypress-unsupported-browser-stable32

Conversation

@miaulalala
Copy link
Copy Markdown
Contributor

@miaulalala miaulalala commented May 28, 2026

Forward port of #60790.

The Cypress browser (Chrome 118 / Electron 27) fell below the minimum version required by @nextcloud/browserslist-config's "baseline widely available" query in April 2026 (Chrome 118 was released Oct 2023; the 30-month threshold passed). Every page visit silently redirected to "Your browser is not supported", preventing the Vue app from mounting — #user-menu, [data-cy-files-list], OCA.Files.Sidebar, etc. never appeared and the entire Cypress suite failed.

Fix: set no_unsupported_browser_warning = true during container setup.

🤖 Generated with Claude Code

The Cypress browser (Chrome 118 / Electron 27) is below the minimum
browser version required by @nextcloud/browserslist-config's
"baseline widely available" query. Chrome 118 (released Oct 2023)
crossed the 30-month support threshold in April 2026 and dropped out,
causing every page visit to silently redirect to "Your browser is not
supported" instead of loading the app. This prevented #user-menu,
[data-cy-files-list], OCA.Files.Sidebar, and all Vue-rendered elements
from ever appearing, making the entire Cypress test suite fail.

Set no_unsupported_browser_warning=true during container setup so the
browser check is suppressed in the test container.

AI-Assisted-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Anna Larch <anna@nextcloud.com>
@miaulalala miaulalala requested a review from a team as a code owner May 28, 2026 13:00
@miaulalala miaulalala requested review from nfebe, sorbaugh and susnux and removed request for a team May 28, 2026 13:00
@miaulalala miaulalala changed the title fix(cypress): disable unsupported-browser redirect in test container [stable32] fix(cypress): disable unsupported-browser redirect in test container May 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant